class form {
  label = ''// 标题
  field = ''// 字段
  placeholder = ''// 说明

  setData(field, data) {
    this[field] = data
  }
}

/**
 * input 对象
 */
export class input extends form {
  type = 'text'
}

/**
 * select 选择框
 */
export class select extends form {
  option = []
}
